Automattic\Jetpack\Licensing\Endpoints S

Total Complexity 27
Dependencies 10
Dependents 1
Total lines 425
Lines of code 232
Logical lines of code 54
Comment lines 158
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
register_endpoints()
S
39 1 95
update_licensing_activation_notice_dismiss()
S
54 4 21
get_user_licenses()
S
53 2 24
get_user_license_counts()
S
53 2 24
user_licensing_permission_check()
S
67 3 7
validate_non_neg_int()
S
65 3 9
set_jetpack_license()
S
62 2 11
set_jetpack_license_key_permission_check()
S
70 2 6
can_manage_options_check()
S
70 2 6
validate_string()
S
69 2 6
__construct()
S
70 1 7
update_licensing_error()
S
75 1 4
get_licensing_error()
S
80 1 3
attach_jetpack_licenses()
S
65 1 9